package edu.whcp.comp2301.mapper;

import edu.whcp.comp2301.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    public List<User> getAllUsers();

    public User login(String username);

    public List<User> getUser(String id);

    public void addUser(User user);

    public Integer delUser(String id);

    public void alterUser(User user);

    public User loginPage(String username);
}
